import LayOut from '@/layout/LayOut.vue';
export default {
    path: '/admin',
    component: LayOut,
    // 二级路由
    children: [{
        path: 'product/list',
        component: () =>
            import ('@/views/ProductPage/ProductList/ProductList.vue')
    }, {
        path: 'product/category',
        component: () =>
            import ('@/views/ProductPage/ProductCategory/ProductCategory.vue')
    }, {
        path: 'product/add',
        component: () =>
            import ('@/views/ProductPage/ProductAdd/ProductAdd.vue')
    }]
}